package com.scalar.chiptrack.operations.process;

/**
 * Finished Goods Object, 
 *
 * @author Raja Shekhar Vallamsetla 
 * @version $Revision: 1.2 $ $Date: 2007/02/05 14:10:50 $
 */


public class Lot
{

	// ----------------------------------------------------- Instance Variables
	private String lotId = null;
	private String lotNumber = null;
	private String quantityIn = null;
	private String quantityOut = null;
	private String dateIn = null;
	private String dateOut = null;
	private String yield = null;
	private String dieWafer = null;
	private String rma = null;
	private String status = null;
	private String grossDie = null; //Bhaskar added this property on 03 Feb 2004
	//private int pOrderID = -1; //Ravikanth added this property on 11 Feb 2004
	private String pOrderID = null;
	private String dieSize = null;
	private String avgGoodDie = null;//Bhaskar on 9 Mar 2004
    private String dateCode = null;  //Added by KumaraSwamy on 21st July, 2004
    private String vendorLot = null; //Added by KumaraSwamy on 2nd Aug, 2004
    private String comments = null;  //Added by KumaraSwamy on 2nd Aug, 2004
    private boolean hold;
    private String waferId = null;
    private String lotCategory  = null;
    private String fabLotnumber = null;
    private String fabLotId = null;
    /**
	* Default Constructor
	*
	*/
	public Lot()
	{
	}

	/**
	* Constructor
	*
	*/
	public Lot(String lotId, String lotNumber)
	{
		this.lotId = lotId;
		this.lotNumber = lotNumber;
	}
  
  // ----------------------------------------------------- Public get/set methods
  
	public String getLotId()
	{
		return lotId;
	}

	public void setLotId(String lotId)
	{
		this.lotId = lotId;
	}

	public String getLotNumber()
	{
		return lotNumber;
	}

	public void setLotNumber(String lotNumber)
	{
		this.lotNumber = lotNumber;
	}

	public String getQuantityIn()
	{
		return quantityIn;
	} 

	public void setQuantityIn(String quantityIn)
	{
		this.quantityIn = quantityIn;
	} 

	public String getQuantityOut()
	{
		return quantityOut;
	} 

	public void setQuantityOut(String quantityOut)
	{
		this.quantityOut = quantityOut;
	} 

	public String getDateIn()
	{
		return dateIn;
	} 

	public void setDateIn(String dateIn)
	{
		this.dateIn = dateIn;
	} 

	public String getDateOut()
	{
		return dateOut;
	} 

	public void setDateOut(String dateOut)
	{
		this.dateOut = dateOut;
	} 	

	public String getYield()
	{
		return yield;
	} 

	public void setYield(String yield)
	{
		this.yield = yield;
	} 

	public String getDieWafer()
	{
		return dieWafer;
	}

	public void setDieWafer(String dieWafer)	
	{
		this.dieWafer = dieWafer;
	}

	public String getRma()
	{
		return rma;	 
	}

	public void setRma(String rma)
	{
		this.rma = rma;
	}

	public String getStatus()
	{
		return status;	 
	}

	public void setStatus(String status)
	{
		this.status = status;
	}

	//Bhaskar added these get and set methods to get the gross die values in Fab Data Entry 
	//on 03 Feb 2004
	public String getGrossDie()
	{
		return grossDie;	 
	}

	public void setGrossDie(String grossDie)
	{
		this.grossDie = grossDie;
	}

	/**
	 * @return
	 */
	public String getPOrderID()
	{
	    return pOrderID;
	}
	
	/**
	 * @param pOrderID
	 */
	public void setPOrderID(String pOrderID)
	{
	    this.pOrderID = pOrderID;
	}

	
	/**
	 * @return
	 */
	public String getDieSize()
	{
		return dieSize;
	}
	
	/**
	 * @param string
	 */
	public void setDieSize(String dieSize)
	{
		this.dieSize = dieSize;
	}

	/**
	 * @return
	 */
	public String getAvgGoodDie()
	{
		return avgGoodDie;
	}
	
	/**
	 * @param string
	 */
	public void setAvgGoodDie(String avgGoodDie)
	{
		this.avgGoodDie = avgGoodDie;
	}

    /**
	 * @return
	 */
	public String getDateCode()
	{
		return dateCode;
	}

	/**
	 * @param string
	 */
	public void setDateCode(String dateCode)
	{
		this.dateCode = dateCode;
	}
    public String getVendorLot()
	{
		return vendorLot;
	}

	public void setVendorLot(String vendorLot)
	{
		this.vendorLot = vendorLot;
	}
    public String getComments()
	{
		return comments;
	}

	public void setComments(String comments)
	{
		this.comments = comments;
	}
    public boolean isHold()
{
    return hold;
}

    public void setHold( boolean hold )
    {
        this.hold = hold;
    }

    public String getWaferId()
    {
        return waferId;
    }

    public void setWaferId(String waferId)
    {
        this.waferId = waferId;
    }

    public String getLotCategory() {
        return lotCategory;
    }

    public void setLotCategory(String lotCategory) {
        this.lotCategory = lotCategory;
    }

    public String getFabLotnumber() {
        return fabLotnumber;
    }

    public void setFabLotnumber(String fabLotnumber) {
        this.fabLotnumber = fabLotnumber;
    }

    public String getFabLotId() {
        return fabLotId;
    }

    public void setFabLotId(String fabLotId) {
        this.fabLotId = fabLotId;
    }

}